package org.example.mp_demo.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

//根据实体库表创建实体类
@Data
public class User {
    private Long id;
    private String name;
    @TableField(select = false)
    private String password;
    private Integer age;
    private String tel;


    private String online   ; // 数据库表中不存在该字段, 用于处理其他业务逻辑
}

